body, html {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
p{
  margin: 0;
  margin-bottom: 0;
  color: inherit;
  font-size: inherit;
}
.border-box{
  box-sizing: border-box;
}
//.attendance-page{
//  padding-bottom: 50px;
//}
/*flexbox*/
.flex-v {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: column;
  flex-flow: column;
}

.flex-h {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}

.flex-1 {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
}

.x-between {
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.x-center {
  -webkit-justify-content: center;
  justify-content: center;
}

.y-center {
  -webkit-align-items: center;
  align-items: center;
}

.display-none {
  display: none;
}

.text-over-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body .cmp-bar.cmp-bar-nav.cmp-flex-header{
  position: static;
}
body footer.cmp-bar{
  position: static;
}
body .cmp-bar-nav {
  box-shadow:0px 1px 0px 0px rgba(228,228,228,1);
}
.text-center {
  text-align: center;
}
.scroll-touch{
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  &::-webkit-scrollbar{
    display: none;
    visibility: hidden;
    opacity: 0;
    width: 0;
  }
}
.cmp-loading.cmp-loading-fixed{
  z-index: 20;
}
body {
  overflow: hidden;
}
.clock-cmp-content{
  overflow: hidden;
  *{
    box-sizing: border-box;
  }
  .page-view-warp{
    position: relative;
    left: 0;
    white-space: nowrap;
    font-size: 0;
    height: 100%;
    .scroll-touch;
    >.page-view{
      width: 100vw;
      display: inline-block;
      vertical-align: top;
      font-size: 14px;
      overflow: auto;
      height: 100%;
    }
  }
}

.clock-type-normal{
 color: #666666;
}
.clock-type-late{
 color: #FF9900;
}
.clock-type-missingClock{
 color: #FF5E5E;
}
.clock-type-outside{
 color: #1F85EC;
}
.clock-type-leaveEarly{
 color: #FF9900;
}
